import request from '../utils/request'

// 获取轮播图数据
export const getBannerList = () => {
  return request({
    url: `banner/list?t=${new Date() - 0}`
  })
}

// 获取菜单列表数据
export const getMenuList = () => {
  return request({
    url: 'menu/list'
  })
}

// 获取商品列表数据
export const getGoodsList = (data) => {
  return request({
    url: 'pro/list',
    data
  })
}